<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>

<div id="copyright">copyright (c) 2011 Mirincom, all rights reserved.</div>

<script type="text/javascript">
$(document).ready(function(){
	$.preload("css/images/ajax-loader.gif");
	
	if($("#indicator").length == 0) { $("body").prepend($("<div></div>").attr("id", "indicator")); }
	$("body").ajaxSend(function(e,xhr,options){
		if(options.indicator) {
			$("#indicator").dialog({
				area: {'position':'absolute', 'left':'50%', 'top':'50%', 'padding':'20px'},
				data: '<div><img src="css/images/ajax-loader.gif" /></div>'
			});
		} 
	}).ajaxStop(function(e){
		$("#indicator").close();
	});
});
</script>